//
//  NSString+size.h
//  bgms_p
//
//  Created by lachesis-zhu on 16/4/21.
//  Copyright © 2016年 xiao.zhao@lachesis-mh.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (size)
/**
 * 类方法计算size大小
 */
+ (CGSize)sizeWithString:(NSString *)str andFount:(UIFont *)font andMaxSize:(CGSize)size;

/**
 * 对象方法计算size大小
 */
- (CGSize)sizeWithFount:(UIFont *)font andMaxSize:(CGSize)size;
@end
